/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.olcudegisim.agirlik;

/**
 *
 * @author serkan
 */
public class miligram extends agirlikbirimleri implements com.olcudegisim.olcu_interface.olcu {
    
    public miligram() {
        this.olcuBirimTablosu();
    }
    
    @Override
    public String olcuBirimi() {
        return "mg";
    }
    
    @Override
    public String olcuAdi() {
        return "Miligram";
    }
    
    @Override
    public void olcuBirimTablosu() {
        /*
         * 1 miligram birim tablosu
         */
        super.setMiligram(1);
        super.setGram(0.001);
        super.setKilogram(0.000001);
        super.setTon(0.000000001);
        super.setGrain(0.15432358);
        super.setOns(0.000035273966);
        super.setLibre(0.000002204623);
    }
}
